package com.gitee.melin.bee.core.jdbc.enums;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.gitee.melin.bee.core.enums.BaseStringEnum;
import com.gitee.melin.bee.core.enums.jackson.JacksonEnumStringSerializer;

@JsonSerialize(using = JacksonEnumStringSerializer.class)
public enum CompatibleMode implements BaseStringEnum {
    MYSQL("MySQL"),
    ORACLE("Oracle"),
    POSTGRESQL("PostgreSQL");

    private String name;

    CompatibleMode(String name) {
        this.name = name;
    }

    @Override
    public String getValue() {
        return this.name;
    }
}
